package com.jianyun.jyzs.bean;

import java.util.List;

/**
 * Created by mlli on 2017/8/16.
 */

public class CrmListResponse extends Response{

    @Override
    public String toString() {
        return "CrmListResponse{" +
                "message=" + message +
                ", result=" + result +
                ", userId='" + userId + '\'' +
                ", list=" + list +
                '}';
    }

    private Object message;
    private boolean result;
    private String userId;
    private List<CrmListBean> list;

    public Object getMessage() {
        return message;
    }

    public void setMessage(Object message) {
        this.message = message;
    }

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public List<CrmListBean> getList() {
        return list;
    }

    public void setList(List<CrmListBean> list) {
        this.list = list;
    }

    public static class CrmListBean {

        @Override
        public String toString() {
            return "IndustryBean{" +
                    "city=" + city +
                    ", createDate='" + createDate + '\'' +
                    ", createUserId='" + createUserId + '\'' +
                    ", createUserName='" + createUserName + '\'' +
                    ", funnel='" + funnel + '\'' +
                    ", funnelDt='" + funnelDt + '\'' +
                    ", id='" + id + '\'' +
                    ", name='" + name + '\'' +
                    ", phoneTimes=" + phoneTimes +
                    ", province=" + province +
                    ", visitTimes=" + visitTimes +
                    '}';
        }

        private Object city;
        private String createDate;
        private String createUserId;
        private String createUserName;
        private String funnel;
        private String funnelDt;
        private String id;
        private String name;
        private int phoneTimes;
        private Object province;
        private int visitTimes;

        @Override
        public boolean equals(Object o) {
            CrmListBean bean = (CrmListBean) o;
            if (bean.getId().equals(id)){
                return true;
            }
            return super.equals(o);
        }

        public Object getCity() {
            return city;
        }

        public void setCity(Object city) {
            this.city = city;
        }

        public String getCreateDate() {
            return createDate;
        }

        public void setCreateDate(String createDate) {
            this.createDate = createDate;
        }

        public String getCreateUserId() {
            return createUserId;
        }

        public void setCreateUserId(String createUserId) {
            this.createUserId = createUserId;
        }

        public String getCreateUserName() {
            return createUserName;
        }

        public void setCreateUserName(String createUserName) {
            this.createUserName = createUserName;
        }

        public String getFunnel() {
            return funnel;
        }

        public void setFunnel(String funnel) {
            this.funnel = funnel;
        }

        public String getFunnelDt() {
            return funnelDt;
        }

        public void setFunnelDt(String funnelDt) {
            this.funnelDt = funnelDt;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getPhoneTimes() {
            return phoneTimes;
        }

        public void setPhoneTimes(int phoneTimes) {
            this.phoneTimes = phoneTimes;
        }

        public Object getProvince() {
            return province;
        }

        public void setProvince(Object province) {
            this.province = province;
        }

        public int getVisitTimes() {
            return visitTimes;
        }

        public void setVisitTimes(int visitTimes) {
            this.visitTimes = visitTimes;
        }
    }
}
